<script>
KindEditor.ready(function(K) {
	K.create('#contents', {
		uploadJson : '<?php echo $this->config->base_url(); ?>user/uploadimg',
		fileManagerJson : '<?php echo $this->config->base_url(); ?>user/userimgmanager',
		allowImageUpload : true,
		allowMediaUpload : false,
		allowFileUpload : false,
		allowFlashUpload : false,
		allowFileManager : true,
		width : '675px'
	});
});
</script>